package com.gupao.service;

import com.gupao.dao.IUserDao;
import com.gupao.domain.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


public class UserServiceImpl implements IUserService {
    @Resource
    private IUserDao userDao;

    public User selectUser(long userId) {
        //大部分的工作是写service的逻辑
        return userDao.selectUser(userId);
    }
}